package com.novax.ex.activity.open.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;


/**
 * Description:简介配置
 *
 * @author Deucalion@novax.email
 * @date 2023/2/21 16:47
 */
@Schema(description = "简介配置")
@Data
public class MallProductDescriptionLanguageRequest {
    /** id */
    @Schema(description = "id")
    private Long id;

    /**
    * 商品id
    */
    @NotNull
    @Schema(description = "商品id",required = true)
    private Long mallProductId;

    /**
    * 语言
    */
    @NotBlank
    @Schema(description = "语言",required = true)
    private String language;

    /**
    * 商品简介内容
    */
    @NotNull
    @Schema(description = "商品简介内容",required = true)
    private String content;
}
